//
//  MPMessageController.swift
//  MPSinaWeibo
//
//  Created by DaVinci on 16/4/6.
//  Copyright © 2016年 DaVinci. All rights reserved.
//

import UIKit

class MPMessageController: MPVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
       
        setupUI()
    }
    
    private func setupUI(){
        
        if !userLogin {
          
            VisitorView?.setVisitorInfo("登录后，别人评论你的微博，发给你的消息，都会在这里收到通知在这里收到通在这里收到通", imageName: "visitordiscover_image_message")
            
            return
        }
        
        
       
        self.navigationItem.rightBarButtonItem = UIBarButtonItem(imageName: nil, title: "发现群", target: self, action: "findGroup")
    }
    
    @objc private func findGroup(){
    
       print(222)
    }
}
